<?php
$v_record_id = 0;
if(isset($_REQUEST['hdn_record_id'])){
	$v_record_id = intval($_REQUEST['hdn_record_id']);
}
if(_is_sqlserver()){
	$sql = "Exec Onegate_RecordDocGetAllByRecord ";
	$sql = $sql ."'". $v_record_id."'" ;
	$ado_conn->SetFetchMode(ADODB_FETCH_ASSOC);
	$arr_record_doc = $ado_conn->GetAll($sql);
	$v_count_record_doc = sizeof($arr_record_doc);
}?>
